import {HANDEL_CODE_CONFIG} from "@/views/checkPage/config/eventConfig";

const ENT_CONFIG = {
  // 抽查
  [HANDEL_CODE_CONFIG.SPOT_CHECK]: {
    queryUrl: '/business/defect/defectSpotCheck/getAllowCheckEnterprises',
  },
  // 督查
  [HANDEL_CODE_CONFIG.SUPERVISE_AND_EXAMINE]: {
    queryUrl: '/business/defect/defectSupervisionCheck/getAllowCheckEnterprises',
  },
}

const ENT_QUERY_CONFIG = {
  deptCode: [HANDEL_CODE_CONFIG.SUPERVISE_AND_EXAMINE],
  enterpriseName: [HANDEL_CODE_CONFIG.SPOT_CHECK, HANDEL_CODE_CONFIG.SUPERVISE_AND_EXAMINE]
}

export {ENT_CONFIG,ENT_QUERY_CONFIG}
